Skip to main content

scrollerBeginDrag

Type​

message

Summary​

Sent when a scroll initiating drag is started.

Syntax​

scrollerBeginDrag

Description​

The scrollerBeginDrag message is sent when scrolling is initiated by dragging on a scroller control created using the mobileControlCreate command.

Handle the scrollerBeginDrag message if you want to move LiveCode controls, make changes to the interface or set the appropriate scroll properties of groups and fields to get a native scrolling effect.

The scrollerBeginDrag message is sent to the object containing the script that created the scroller control.

Examples​

on scrollerBeginDrag
put "Scroll by dragging started" into field "scroller status"
end scrollerBeginDrag

command: mobileControlCreate, mobileControlDelete, mobileControlSet

function: mobileControlGet, mobileControlTarget, mobileControls

message: scrollerEndDecelerate, scrollerBeginDecelerate, scrollerEndDrag, scrollerDidScroll, scrollerScrollToTop

Compatibility and Support​

Introduced

LiveCode 4.5.3

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?